/*
 * @Author: your name
 * @Date: 2020-08-21 17:04:55
 * @LastEditTime: 2020-09-23 09:48:01
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \devopsh:\project\QMangolia-web\src\store\getters.js
 */
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.userState.token,
  avatar: state => state.userState.avatar,
  form: state => state.userState.form,
  email: state => state.userState.email,
  name: state => state.userState.name,
  roleId: state => state.userState.roleId,
  roleName: state => state.userState.roleName,
  Nodes: state => state.userState.Nodes,
  UserId: state => state.userState.userId,
  permission_routes: state => state.permission.routes,
  repos: state => state.code.repos
}
export default getters
